<div>
<p>
	<b>RAM utilisee</b> <br /> <%=h @machine.ram_usage %> Mo
</p>
<p>
	<b>RAM totale</b> <br /> <%=h @machine.ram_total %> Mo
</p>
<p>
	<b>CPU utilise</b> <br /> <%=h @machine.cpu_usage %> %
</p>

<p>
	<b>Systeme d'exploitation</b> <br /> 
	
	<% if @machine.os == "Inconnu" %>
		<%= image_tag('Inconnu.png', :title => "Machine inconnu",:alt =>"Machine inconnu", :height =>"50px", :width =>"50px" )%>
	<% end %>
	
	<% if @machine.os == "Windows 7" %>
		<%= image_tag('Windows-7.png', :title => "Machine Seven",:alt =>"Machine Seven", :height =>"50px", :width =>"50px" )%>
	<% end %>
	
	<% if @machine.os == "Windows XP" %>
		<%= image_tag('Windows-xp.png', :title => "Machine XP",:alt =>"Machine XP", :height =>"41px", :width =>"50px" )%>
	<% end %>
	
	<% if @machine.os == "Linux" %>
		<%= image_tag('Linux.png', :title => "Machine Linux",:alt =>"Linux", :height =>"48px", :width =>"50px" )%>
	<% end %>
	
	<% if @machine.os == "Mac OS" %>
		<%= image_tag('Mac.png', :title => "Machine Mac",:alt =>"Machine Mac", :height =>"66px", :width =>"50px" )%>
	<% end %>
</p>
</div>
